Square\Models\CatalogCustomAttributeDefinition S

Total Complexity 37
Dependencies 9
Dependents 1
Total lines 406
Lines of code 120
Logical lines of code 53
Comment lines 207
Methods 26
Properties 12

Methods 26

Method Rating Maintainability Complexity Lines of code
jsonSerialize()
A
45 12 43
setAppVisibility()
S
81 1 3
setKey()
S
81 1 3
getKey()
S
82 1 3
setCustomAttributeUsageCount()
S
81 1 3
getCustomAttributeUsageCount()
S
82 1 3
setSelectionConfig()
S
81 1 3
getSelectionConfig()
S
82 1 3
setNumberConfig()
S
81 1 3
getNumberConfig()
S
82 1 3
setStringConfig()
S
81 1 3
getStringConfig()
S
82 1 3
__construct()
S
74 1 5
getType()
S
82 1 3
setSellerVisibility()
S
81 1 3
getSellerVisibility()
S
82 1 3
setAllowedObjectTypes()
S
81 1 3
getAllowedObjectTypes()
S
82 1 3
setSourceApplication()
S
81 1 3
getSourceApplication()
S
82 1 3
setDescription()
S
81 1 3
getDescription()
S
82 1 3
setName()
S
81 1 3
getName()
S
82 1 3
setType()
S
81 1 3
getAppVisibility()
S
82 1 3